<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jstl/core"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
	<base href="<%=basePath%>/html/~sale/">
	<head>
		<title>jb-aptech毕业设计项目</title>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
		<link href="../css/style.css" rel="stylesheet" type="text/css">
		<script src="../script/common.js"></script>

		<script type="text/javascript">

</script>

	</head>
	<body>
		<form action="newSaleChance.action" method="post">
			<div class="page_title">
				销售机会管理&nbsp; &gt; 新建销售机会
			</div>
			<div class="button_bar">
				<button class="common_button" onclick=help();
>
					帮助
				</button>
				<button class="common_button" onclick=back();>
					返回
				</button>
				<button class="common_button" type="submit">
					保存
				</button>
			</div>
			<table class="query_form_table">
			
				<tr>
					<th>
						编号
					</th>
					<td>
						<input readonly />
					</td>
					<th>
						机会来源
					</th>
					<td>
						<input name="csc.source" size="20" />
					</td>
				</tr>
				
				<tr>
					<th>
						客户名称
					</th>
					<td>
						<input name="csc.customname"/>
						<span class="red_star">*</span>
					</td>
					<th>
						成功机率
					</th>
					<td>
						<input name="csc.successrate"/>
						<span class="red_star">*</span>
					</td>
				</tr>
				
				<tr>
					<th>
						概要
					</th>
					<td colspan="3">
						<input name="csc.brief"  size="52" />
						<span class="red_star">*</span>
					</td>
				</tr>
				
				<tr>
					<th>
						负责人
					</th>
					<td>
						<input name="csc.charger" value="刘颖" readonly  size="20" />
					</td>
					<th>
						公司电话
					</th>
					<td>
						<input name="csc.telephone" size="20" />
					</td>
				</tr>
				
				<tr>
					<th>
						客户等级
					</th>
					<td>
						<s:select name="d.uuid" list="level" listKey="uuid" listValue="itemvalue" ></s:select>
					</td>
					<th>
						地区
					</th>
					<td>
						<s:select name="d2.uuid" list="customerdistrict" listKey="uuid" listValue="itemvalue" ></s:select>
					</td>
				</tr>
				
				<tr>
					<th>
						机会描述
					</th>
					<td colspan="3">
						<textarea rows="6" cols="50" name="csc.description"></textarea>
						<span class="red_star">*</span>
					</td>
				</tr>
				<tr>
					
					<th>
						创建时间
					</th>
					<td>
						<input id="t1" name="T15" readonly size="20" />
						<span class="red_star">*</span>
					</td>
				</tr>
				
			</table>
			<br />
			<table disabled class="query_form_table" id="table1">
				<tr>
					<th>
						指派给
					</th>
					<td>
						<select name="D1">
							<option>
								请选择...
							</option>
							<option>
								小明
							</option>
							<option>
								旺财
							</option>
							<option>
								球球
							</option>
							<option>
								孙小美
							</option>
							<option>
								周洁轮
							</option>
						</select>
						<span class="red_star">*</span>
					</td>
					<th>
						指派时间
					</th>
					<td>
						<input id="t2" name="T20" readonly size="20" />
						<span class="red_star">*</span>
					</td>
				</tr>
			</table>

		</form>
		<script>
	setCurTime('t1');
	setCurTime('t2');
</script>
	</body>
</html>